﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.ServiceModel.Web;
using System.Text;

namespace UserManagementWCFService
{
    [ServiceContract]
    public interface IUserManagementService
    {
        [OperationContract]
        void addUser(User user);

        [OperationContract]
        User getUser(String username);

        [OperationContract]
        bool availableUserName(String username);

        [OperationContract]
        bool updatePassword(String password, User user);

    }
}
